package net.lanelife.casino.caipiao.service.api;

import java.util.List;

import net.lanelife.casino.caipiao.entity.User;
import net.lanelife.casino.common.service.support.IGenericService;

public interface IUserService extends IGenericService<User, Integer> {

	public User findByUserName(String userName);
	
	public Boolean exists(String userName);
	
	public String getPath(String userName);
	/**
	 * 通过路径获取上级列表
	 * @param path
	 * @return
	 */
	public List<User> findParentsByPath(String path);
	
}
